package com.sky.mapper;

import com.sky.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ShoppingCartMapper {
    ShoppingCart selectOne(ShoppingCart shoppingCartQuery);

    void insert(ShoppingCart shoppingCart);

    void updateById(ShoppingCart shoppingCart);

    List<ShoppingCart> selectlist(ShoppingCart shoppingCart);

    void clean(ShoppingCart shoppingCart);

    ShoppingCart select(ShoppingCart shoppingCart);

    void deleteById(ShoppingCart shoppingCart);

    void insertshoppingCart(List<ShoppingCart> shoppingCarts);
}
